package com.hzzy.IDao;

import com.hzzy.bean.HzDormitory;
import com.hzzy.bean.HzDormitoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HzDormitoryMapper {
    int countByExample(HzDormitoryExample example);

    int deleteByExample(HzDormitoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HzDormitory record);
    
    int insertDormitory(HzDormitory record);

    int insertSelective(HzDormitory record);

    List<HzDormitory> selectByExample(HzDormitoryExample example);

    HzDormitory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HzDormitory record, @Param("example") HzDormitoryExample example);

    int updateByExample(@Param("record") HzDormitory record, @Param("example") HzDormitoryExample example);

    int updateByPrimaryKeySelective(HzDormitory record);

    int updateByPrimaryKey(HzDormitory record);
    
    int updateByDormitoryKey(HzDormitory record);
}